package com.steven.ourcontest.base

import androidx.lifecycle.ViewModel
import io.reactivex.disposables.CompositeDisposable
import io.reactivex.disposables.Disposable

abstract class BaseViewModel : ViewModel() {
    val disposed:CompositeDisposable = CompositeDisposable()

    override fun onCleared() {
        super.onCleared()
        disposed.clear()
    }
}